package chain_config

import (
	"github.com/xinliangnote/go-gin-api/internal/pkg/core"
	"github.com/xinliangnote/go-gin-api/internal/repository/mongodb"
	"github.com/xinliangnote/go-gin-api/internal/services/chain_config"
	"go.uber.org/zap"
)

var _ Handler = (*handler)(nil)

type Handler interface {
	i()
	List() core.HandlerFunc
}

type handler struct {
	logger       *zap.Logger
	chainService chain_config.Service
}

func New(logger *zap.Logger, db mongodb.Repo) Handler {
	return &handler{
		logger:       logger,
		chainService: chain_config.New(db),
	}
}

func (h *handler) i() {}
